﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CircleVectorOutput
{
    class Program
    {
        static void Main(string[] args)
        {
            float x, y;
            const int segments = 32;
            const double increment = Math.PI * 2.0 / segments;
            double theta = 0.0;

            // Write the string to a file.
            System.IO.StreamWriter file = new System.IO.StreamWriter("test.txt");

            for (int i = 0; i < segments; i++)
            {
                x = 0.5f * (float)Math.Cos(theta);
                y = 0.5f * (float)Math.Sin(theta);
                theta += increment;
                
                file.WriteLine("new Vector3({0:f4}f, {1:f4}f, 0f),", x, y);
            }

            file.Close();
        }
    }
}
